Merged
Conversation
perezd
reviewed
Jun 18, 2024
| def declare_buf_toolchains(os, cpu, rules_buf_repo_name): | ||
| for cmd in ["buf", "protoc-gen-buf-lint", "protoc-gen-buf-breaking"]: | ||
| ext = "" | ||
| exe_suffix = "" |
There was a problem hiding this comment.
ultra nit: cmd_suffix would be clearer.
srikrsna
approved these changes
Jun 19, 2024
srikrsna-buf
approved these changes
Jun 19, 2024
Merged
Merged
srikrsna-buf
added a commit
that referenced
this pull request
May 7, 2025
## What's Changed * Use canonical_id in rctx.download and use the latest github release version by @Strum355 in #62 * Fix running tests in Windows by @jchadwick-buf in #79 * Update bzlmod example to be able to use toolchain by @sfroment in #81 * Fix extensions.bzl to allow for multiple versions by @filippobrizzi in #88 * Add repository_url to reproducible attributes by @styurin in #94 * Sort targets in the buf_breaking rules by @dspencer12 in #100 * Add `buf_format` rule by @srikrsna-buf in #105 ## New Contributors * @Strum355 made their first contribution in #62 * @jchadwick-buf made their first contribution in #79 * @sfroment made their first contribution in #81 * @filippobrizzi made their first contribution in #88 * @dspencer12 made their first contribution in #101 * @styurin made their first contribution in #94 **Full Changelog**: v0.3.0...v0.4.0
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This should resolve the toolchain registration issue from #78.
Also, it adds a batch script version of the shell script shim used to invoke protoc for tests; however, this requires
--enable_runfilesto be explicitly passed or added to.bazelrcfor a project, as Bazel on Windows does not populate runfiles by default.In the future, we will need a better approach to supporting Windows that uses the runfiles manifest instead. This is tricky though, and will require some careful thought.